using System;
using System.Collections.Generic;
using System.Text;
using Castle.ActiveRecord;

namespace Old.KenEgozi.Com.Domain.Blog
{
	[ActiveRecord("RedirectionMap")]
	public class RedirectionEntry:ActiveRecordBase<RedirectionEntry>
	{
		private string _entryId;
		private int _postId;
		private string _oldPermalink;
		private string _permalink;

		[PrimaryKey(PrimaryKeyType.Assigned)]
		public string EntryId
		{
			get { return _entryId; }
			set { _entryId = value; }
		}

		[Property]
		public int PostId
		{
			get { return _postId; }
			set { _postId = value; }
		}

		[Property]
		public string OldPermalink
		{
			get { return _oldPermalink; }
			set { _oldPermalink = value; }
		}

		[Property]
		public string Permalink
		{
			get { return _permalink; }
			set { _permalink = value; }
		}


	}
}
